package com.tengju.user.application.club.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/1/13
 */
@Data
public class ClubAddDTO {

    @ApiModelProperty(value = "俱乐部创始人idCode")
    @NotNull(message = "创始人不能为空")
    private Long founderIdCode;

    @ApiModelProperty(value = "俱乐部名称")
    @NotNull(message = "俱乐部名称不能为空")
    private String clubName;

    @ApiModelProperty(value = "俱乐部头像")
    @NotNull(message = "俱乐部头像不能为空")
    private String clubHeadImg;

    @ApiModelProperty(value = "俱乐部所属战区Id")
    @NotNull(message = "所属战区不能为空")
    private Long zoneId;

    @ApiModelProperty(value = "俱乐部成员idCode列表")
    @NotNull(message = "成员列表不能为空")
    private List<Long> memberIdCodes;

}
